#include <stdio.h>

void Swap(int* a, int* b)//指向所在地址
{
    int c = *a;//解引用取值
    *a = *b;
    *b = c;

}
int main()
{
    int a = 10;
    int b = 20;
    Swap(&a, &b);//取ab地址
    printf("a = %d b = %d\n", a, b);
    return 0;
}